import type * as T from './type'
import { http } from '@/utils/http'

export type * from './type'

/** 获取列表 */
export async function pageQueryList() {
  const data: T.PageQueryListItem[] = []
  for (let i = 0; i < 10; i++) {
    data.push({
      id: `${i}`,
      wtCode: `QGDQ02-2024-07-003-${i}`,
      assetName: `水轮机-${i}`,
      workPersonName: `李斌`,
      workTeamName: `自动化班`,
      signPersonName: `朱东园`,
      planStartTime: `2024-07-12 10:51:32`,
      planEndTime: `2024-07-31 00:00:00`,
      statusName: '已结束',
      description: 'Trumpet, suona, small song, large cavity. The official ships are in chaos',
      workTicketTypeName: '电气第二种工作票',
    })
  }
  await new Promise(resolve => setTimeout(resolve, 1000))
  return data
}
